package com.jt9003.service.impl;

import com.jt9003.dao.PatientMapper;
import com.jt9003.pojo.Patient;
import com.jt9003.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestServiceimpl implements TestService {

    //获取Dao对象
    @Autowired
    private PatientMapper pm;

    @Override
    public Patient SelectTest(Integer id) {
        return pm.selectByPrimaryKey(id);
    }
}
